package com.wyc.serviceMap.service.impl;

import com.wyc.internalCommon.request.PointDTO;
import com.wyc.internalCommon.result.ApiResult;
import com.wyc.serviceMap.remote.PointUploadClient;
import com.wyc.serviceMap.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PointServiceImpl implements PointService {

    @Autowired
    private PointUploadClient pointUploadClient;

    /**
     * 轨迹上传
     * @param pointDTO
     * @return
     */
    @Override
    public ApiResult pointUpload(PointDTO pointDTO) {
        return pointUploadClient.upload(pointDTO);
    }
}
